package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.example.demo.entity.Wallet;
import com.example.demo.mapper.base.ChapterPurchaseBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;


/**
 * 章节购买表(ChapterPurchase)表数据库访问层
 *
 * @author 杨丽辉
 * @since 2021-03-18 14:18:27
 */
@Component
@Mapper
public interface ChapterPurchaseMapper extends ChapterPurchaseBaseMapper {

    int queryCatfood(@Param(Constants.WRAPPER) Wrapper<Wallet> ew);
    BigDecimal queryIncom(@Param(Constants.WRAPPER) Wrapper<Wallet> ew);
    String queryWalletId(@Param(Constants.WRAPPER) Wrapper<Wallet> ew);
}
